package com.vpen.blog.service;

import com.vpen.blog.common.ReturnResult;
import com.vpen.blog.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;


import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Vpen
 * @since 2021-07-07
 */
public interface BlogService extends IService<Blog> {
    ReturnResult addArticle(Map<String,Object> article);// 添加文章
    List<Blog> getArticles();// 获取所有文章
    Boolean deleteArticle(Long id);// 删除文章
}
